import java.util.*;
import java.io.*;
import java.lang.*;

public class MergeText
{
	public MergeText(){}
	
	static public String[] ListFilesInFolder(final File folder)
	{
		for (final File fileEntry : folder.listFiles()) 
		{
			if (fileEntry.isDirectory()) 
			{
				// listFilesForFolder(fileEntry);
			} 
			else 
			{
				System.out.println(fileEntry.getName());
			}
		}
		return null;
	}
	
	static public void main(String[] args)
	{
	    try {
	        ListFilesInFolder(new File(".\\"));
	    } catch(Exception e)
	    {
			System.out.println("ERROR:"+e);
		}
	}
}